package com.zrrd.jt_admin.common.vo;

import com.zrrd.jt_admin.common.bo.RuleBo;
import com.zrrd.jt_admin.common.entity.Role;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author WanJl
 * @version 1.0
 * @title ManagerVo
 * @description
 * @create 2024/6/25
 */
//Vo  View Object
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ManagerLoginVo {
    //管理员id
    private Integer id;
    //状态
    private Boolean status;
    //用户名
    private String username;
    //头像
    private String avatar;
    //角色id
    private Integer roleId;
    //是否是超级管理员
    private Boolean isSuper;
    //创建时间
    private Integer createTime;
    //更新时间
    private Integer updateTime;
    //管理员角色
    private Role role;
    //token
    private String token;
    //当前角色的权限能够展示的菜单列表
    private List<RuleBo> tree;
    //菜单项名称
    private List<String> ruleNames;

}
